//
//  RollDB.h
//  Roll Ball1.1.1
//
//  Created by Mac on 10-7-28.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "TopRecord.h"

@interface RollDB : NSObject {
	NSString *databaseName;
	NSString *databasePath;
}

-(void) checkAndInitDatabase;
-(void) initDB;

-(NSMutableArray *)	findAllRecord;
-(void) insertRecord: (TopRecord *) record;
-(void) deleteRecordWithId: (int) rid;
@end
